<%@ page import="history.History" %>



<div class="fieldcontain ${hasErrors(bean: historyInstance, field: 'account', 'error')} ">
	<label for="account">
		<g:message code="history.account.label" default="Account" />
		
	</label>
	<g:select id="account" name="account.id" from="${history.Account.list()}" optionKey="id" value="${historyInstance?.account?.id}" class="many-to-one" noSelection="['null': '']"/>
</div>

<div class="fieldcontain ${hasErrors(bean: historyInstance, field: 'type', 'error')} required">
	<label for="type">
		<g:message code="history.type.label" default="Type" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="type" from="${historyInstance.constraints.type.inList}" required="" value="${historyInstance?.type}" valueMessagePrefix="history.type"/>
</div>

<div class="fieldcontain ${hasErrors(bean: historyInstance, field: 'isArchive', 'error')} required">
	<label for="isArchive">
		<g:message code="history.isArchive.label" default="Is Archive" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="isArchive" from="${historyInstance.constraints.isArchive.inList}" required="" value="${historyInstance?.isArchive}" valueMessagePrefix="history.isArchive"/>
</div>

